package com.wpc.directory;

import java.io.File;

/**
 * Created by wpc on 2017/4/19.
 */
public class DirectoryDemo {

    public static void main(String[] args) {

        PPrint.pprint(Directory.walk(".").dirs);

        for (File file : Directory.local(".", "T.*")) {
            System.out.println(file);
        }

        System.out.println("-------------------");

//        for (File file : Directory.walk(".","T.*\\.java")) {
//            System.out.println(file);
//        }
//
//        System.out.println("=============");
//
//        for (File file : Directory.walk(",", ".*[Zz].*\\.class")) {
//            System.out.println(file);
//        }
    }

}
